/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tv.global.rn;

import tv.global.dao.*;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import tv.global.modelo.ItemVideo;

/**
 *
 * @author Claudio
 */
@Stateless
public class VideosRN extends BaseDAO {

    @EJB private VideosDAO videosDAO;

    public List<ItemVideo> getLista(){

        return videosDAO.getLista();
    }

    public ItemVideo getVideo(int orden) {

        return videosDAO.getVideo(orden);
    }
}
